import request from '/@/utils/request';


//获取分页列表
export function getList(params: object) {
    return request({
        url: '/Panel/index',
        method: 'post',
        data: params,
    });
}



   
//保存
export function save(params: object) {
    return request({
        url: '/Panel/save',
        method: 'post',
        data: params,
    });
}

export function edit(params: object) {
    return request({
        url: '/Panel/update',
        method: 'post',
        data: params,
    });
}


//删除
export function del(id: String) {
    return request({
        url: '/Panel/delete',
        method: 'post',
        data: { id },
    });
}
  
